var Index = {
	init: function(){
		var menu = Menu[CurrentUser.category];
		var length = menu && menu.length || 0;
		var btnHtml = '';
		for (var i = 0; i <= Math.floor(length/6); i ++){
			btnHtml += "<div class='row-fluid'>";
			for (var j = 1; j < 7; j ++){
				if (!menu[i*6+j])
					break;
				btnHtml += 	"<div class='span2 box-quick-link " + menu[i*6+j].css.bg + "-background'>" + 
			                "    <a href='" + menu[i*6+j].css.href + "'>" + 
			                "        <div class='header'>" + 
			                "            <div class='icon-" + menu[i*6+j].css.icon + "'></div>" + 
			                "        </div>" + 
			                "        <div class='content'>" + menu[i*6+j].title + "</div>" + 
			                "    </a>" + 
			                "</div>";
			}
			btnHtml += "</div><br>";
		}	
		$("#btnContent").html(btnHtml);
	}
}